﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientService.Models.Lg.Remote;
/// <summary>
/// 清洗机作业数据提交请求
/// </summary>
public class LgClearDataRequest : LgRequestBase
{

    /// <summary>
    /// 电芯
    /// </summary>
    public string Cell { get; set; }
    /// <summary>
    /// 0:OK  1:NG
    /// </summary>
    public int IsNg { get; set; }
    /// <summary>
    /// Ng代码
    /// </summary>
    public string NgCode { get; set; }
    /// <summary>
    /// 结果数据
    /// </summary>
    public LgClearResult Result { get; set; }
}

/// <summary>
/// 清洗机结果
/// </summary>
public class LgClearResult
{
    /// <summary>
    /// 开始时间，格式为yyyyMMddHHmmss
    /// </summary>
    public string StartTime { get; set; } = "20220701153648";
    /// <summary>
    /// 结束时间，格式为yyyyMMddHHmmss
    /// </summary>
    public string EndTime { get; set; } = "20220701153648";
    /// <summary>
    /// 工位编号
    /// </summary>
    public int Station { get; set; } = 9;
    /// <summary>
    /// 电芯表面温度，单位为摄氏度
    /// </summary>
    public double CellSurfaceTemperature { get; set; } = 999.9;
    /// <summary>
    /// 电芯清洗时间，单位为秒
    /// </summary>
    public double CellCleaningTime { get; set; } = 99.9;
    /// <summary>
    /// 电芯干燥时间，单位为秒
    /// </summary>
    public double CellDryingTime { get; set; } = 99.9;
    /// <summary>
    /// 蒸汽口压力，单位为千帕
    /// </summary>
    public double SteamNozzlePressure { get; set; } = 9.99;
    /// <summary>
    /// 蒸汽口流量，单位为千克每小时
    /// </summary>
    public double SteamNozzleFlow { get; set; } = 999.9;
    /// <summary>
    /// 蒸汽口温度，单位为摄氏度
    /// </summary>
    public double SteamNozzleTemperature { get; set; } = 999.9;
}
